Skip to content

Fix proof visibility #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 12, 2025
Merged

Fix proof visibility #12

merged 2 commits into from
Jun 12, 2025

Conversation

vivianjeng
Copy link
Collaborator

@vivianjeng vivianjeng commented Jun 11, 2025

Description

  • Proof elements cannot be used by other crates

    field `message` of struct `SemaphoreProof` is private

    It cannot even check if the message, scope,... match the user's claim

  • Also add serde for SemaphoreProof and add tests for it

Related Issue(s)

Other information

Checklist

  • I have read and understand the contributor guidelines and code of conduct.
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have run yarn style without getting any errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Important

We do not accept minor grammatical fixes (e.g., correcting typos, rewording sentences) unless they significantly improve clarity in technical documentation. These contributions, while appreciated, are not a priority for merging. If there is a grammatical error feel free to message the team.

@vplasencia
Copy link
Member

Thank you very much @vivianjeng!

@vivianjeng vivianjeng merged commit 220f8da into main Jun 12, 2025
2 checks passed
@vivianjeng vivianjeng deleted the fix-expose branch June 12, 2025 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants